/**
 * Copyright:  Copyright (c) 2013
 *
 * @FileName		: ProfitAndLossTeamServiceImpl.java
 * @PageName		: 손익현황 - 팀별
 * @Date			: 오전 11:17:21
 * @LastModifier	: 최경민
 * @LastModifyDate	: 
 * @LastModifier	: 
 * Change history	:
 */
package com.pulp.management.service.impl;

import java.sql.SQLException;
import java.util.List;

import com.pulp.management.dao.ProfitAndLossTeamDAO;
import com.pulp.management.model.ProfitAndLossTeamInfo;

/**
 * @author 최경민
 * 
 */
public class ProfitAndLossTeamServiceImpl implements ProfitAndLossTeamDAO {

	private ProfitAndLossTeamDAO profitAndLossTeamDAO;

	/**
	 * ProfitAndLossTeamDAO 객체를 반환한다.
	 *
	 * @return the profit and loss team dao
	 */
	public ProfitAndLossTeamDAO getProfitAndLossTeamDAO() {
		return profitAndLossTeamDAO;
	}

	/**
	 * ProfitAndLossTeamDAO 객체를 설정한다.
	 *
	 * @param dao the new profit and loss team dao
	 */
	public void setProfitAndLossTeamDAO(ProfitAndLossTeamDAO dao) {
		this.profitAndLossTeamDAO = dao;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * com.pulp.management.dao.ProfitAndLossTeamDAO#getTeamColumnChartList()
	 */
	@Override
	public List<ProfitAndLossTeamInfo> getTeamColumnChartList() throws SQLException {
		return profitAndLossTeamDAO.getTeamColumnChartList();
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * com.pulp.management.dao.ProfitAndLossTeamDAO#getTeamTotalColumnChartList
	 * ()
	 */
	@Override
	public List<ProfitAndLossTeamInfo> getTeamTotalColumnChartList() throws SQLException {
		return profitAndLossTeamDAO.getTeamTotalColumnChartList();
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.pulp.management.dao.ProfitAndLossTeamDAO#getTeamTableList()
	 */
	@Override
	public List<ProfitAndLossTeamInfo> getTeamTableList() throws SQLException {
		return profitAndLossTeamDAO.getTeamTableList();
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.pulp.management.dao.ProfitAndLossTeamDAO#getTeamPieChartList()
	 */
	@Override
	public List<ProfitAndLossTeamInfo> getTeamPieChartList() throws SQLException {
		return profitAndLossTeamDAO.getTeamPieChartList();
	}

}
